<!DOCTYPE html><html lang="zh-CN" data-theme="light"><head><meta charset="UTF-8"><meta http-equiv="X-UA-Compatible" content="IE=edge"><meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0"><title>梧桐的学习日记 - 你的美好等我去发现</title><meta name="author" content="梧桐影下月光卧"><meta name="copyright" content="梧桐影下月光卧"><meta name="format-detection" content="telephone=no"><meta name="theme-color" content="#ffffff"><meta name="description" content="分享个人学习路上的小知识">
<meta property="og:type" content="website">
<meta property="og:title" content="梧桐的学习日记">
<meta property="og:url" content="https://acwy.fun/index.html">
<meta property="og:site_name" content="梧桐的学习日记">
<meta property="og:description" content="分享个人学习路上的小知识">
<meta property="og:locale" content="zh_CN">
<meta property="og:image" content="https://acwy.fun/img/logo.png">
<meta property="article:author" content="梧桐影下月光卧">
<meta name="twitter:card" content="summary">
<meta name="twitter:image" content="https://acwy.fun/img/logo.png"><link rel="shortcut icon" href="/img/logo.png"><link rel="canonical" href="https://acwy.fun/index.html"><link rel="preconnect" href="//cdn.jsdelivr.net"/><link rel="stylesheet" href="/css/index.css"><link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@fortawesome/fontawesome-free/css/all.min.css" media="print" onload="this.media='all'"><link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@fancyapps/ui/dist/fancybox.min.css" media="print" onload="this.media='all'"><script>const GLOBAL_CONFIG = { 
  root: '/',
  algolia: undefined,
  localSearch: undefined,
  translate: undefined,
  noticeOutdate: undefined,
  highlight: {"plugin":"highlighjs","highlightCopy":true,"highlightLang":true,"highlightHeightLimit":false},
  copy: {
    success: '复制成功',
    error: '复制错误',
    noSupport: '浏览器不支持'
  },
  relativeDate: {
    homepage: false,
    post: false
  },
  runtime: '天',
  date_suffix: {
    just: '刚刚',
    min: '分钟前',
    hour: '小时前',
    day: '天前',
    month: '个月前'
  },
  copyright: undefined,
  lightbox: 'fancybox',
  Snackbar: undefined,
  source: {
    justifiedGallery: {
      js: 'https://cdn.jsdelivr.net/npm/flickr-justified-gallery/dist/fjGallery.min.js',
      css: 'https://cdn.jsdelivr.net/npm/flickr-justified-gallery/dist/fjGallery.min.css'
    }
  },
  isPhotoFigcaption: false,
  islazyload: true,
  isAnchor: false,
  percent: {
    toc: true,
    rightside: true,
  }
}</script><script id="config-diff">var GLOBAL_CONFIG_SITE = {
  title: '梧桐的学习日记',
  isPost: false,
  isHome: true,
  isHighlightShrink: false,
  isToc: false,
  postUpdate: '2024-05-05 21:13:51'
}</script><noscript><style type="text/css">
  #nav {
    opacity: 1
  }
  .justified-gallery img {
    opacity: 1
  }

  #recent-posts time,
  #post-meta time {
    display: inline !important
  }
</style></noscript><script>(win=>{
    win.saveToLocal = {
      set: function setWithExpiry(key, value, ttl) {
        if (ttl === 0) return
        const now = new Date()
        const expiryDay = ttl * 86400000
        const item = {
          value: value,
          expiry: now.getTime() + expiryDay,
        }
        localStorage.setItem(key, JSON.stringify(item))
      },

      get: function getWithExpiry(key) {
        const itemStr = localStorage.getItem(key)

        if (!itemStr) {
          return undefined
        }
        const item = JSON.parse(itemStr)
        const now = new Date()

        if (now.getTime() > item.expiry) {
          localStorage.removeItem(key)
          return undefined
        }
        return item.value
      }
    }
  
    win.getScript = url => new Promise((resolve, reject) => {
      const script = document.createElement('script')
      script.src = url
      script.async = true
      script.onerror = reject
      script.onload = script.onreadystatechange = function() {
        const loadState = this.readyState
        if (loadState && loadState !== 'loaded' && loadState !== 'complete') return
        script.onload = script.onreadystatechange = null
        resolve()
      }
      document.head.appendChild(script)
    })
  
    win.getCSS = (url,id = false) => new Promise((resolve, reject) => {
      const link = document.createElement('link')
      link.rel = 'stylesheet'
      link.href = url
      if (id) link.id = id
      link.onerror = reject
      link.onload = link.onreadystatechange = function() {
        const loadState = this.readyState
        if (loadState && loadState !== 'loaded' && loadState !== 'complete') return
        link.onload = link.onreadystatechange = null
        resolve()
      }
      document.head.appendChild(link)
    })
  
      win.activateDarkMode = function () {
        document.documentElement.setAttribute('data-theme', 'dark')
        if (document.querySelector('meta[name="theme-color"]') !== null) {
          document.querySelector('meta[name="theme-color"]').setAttribute('content', '#0d0d0d')
        }
      }
      win.activateLightMode = function () {
        document.documentElement.setAttribute('data-theme', 'light')
        if (document.querySelector('meta[name="theme-color"]') !== null) {
          document.querySelector('meta[name="theme-color"]').setAttribute('content', '#ffffff')
        }
      }
      const t = saveToLocal.get('theme')
    
          if (t === 'dark') activateDarkMode()
          else if (t === 'light') activateLightMode()
        
      const asideStatus = saveToLocal.get('aside-status')
      if (asideStatus !== undefined) {
        if (asideStatus === 'hide') {
          document.documentElement.classList.add('hide-aside')
        } else {
          document.documentElement.classList.remove('hide-aside')
        }
      }
    
    const detectApple = () => {
      if(/iPad|iPhone|iPod|Macintosh/.test(navigator.userAgent)){
        document.documentElement.classList.add('apple')
      }
    }
    detectApple()
    })(window)</script><meta name="generator" content="Hexo 5.4.2"></head><body><link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/pace-js/themes/blue/pace-theme-minimal.min.css"/><script src="https://cdn.jsdelivr.net/npm/pace-js/pace.min.js"></script><div id="sidebar"><div id="menu-mask"></div><div id="sidebar-menus"><div class="avatar-img is-center"><img src= "" data-lazy-src="/img/logo.png" onerror="onerror=null;src='/img/friend_404.gif'" alt="avatar"/></div><div class="sidebar-site-data site-data is-center"><a href="/archives/"><div class="headline">文章</div><div class="length-num">28</div></a><a href="/tags/"><div class="headline">标签</div><div class="length-num">35</div></a><a href="/categories/"><div class="headline">分类</div><div class="length-num">0</div></a></div><hr/><div class="menus_items"><div class="menus_item"><a class="site-page" href="/"><i class="fa-fw fas fa-home"></i><span> 首页</span></a></div><div class="menus_item"><a class="site-page" href="/archives/"><i class="fa-fw fas fa-archive"></i><span> 目录</span></a></div><div class="menus_item"><a class="site-page" href="/tags/"><i class="fa-fw fas fa-tags"></i><span> 标签</span></a></div><div class="menus_item"><a class="site-page" href="/categories/"><i class="fa-fw fas fa-folder-open"></i><span> 分类</span></a></div><div class="menus_item"><a class="site-page" href="/link/"><i class="fa-fw fas fa-link"></i><span> 友情链接</span></a></div></div></div></div><div class="page" id="body-wrap"><header class="full_page fixed" id="page-header" style="background-image: url('/img/top_img.jpeg')"><nav id="nav"><span id="blog-info"><a href="/" title="梧桐的学习日记"><span class="site-name">梧桐的学习日记</span></a></span><div id="menus"><div class="menus_items"><div class="menus_item"><a class="site-page" href="/"><i class="fa-fw fas fa-home"></i><span> 首页</span></a></div><div class="menus_item"><a class="site-page" href="/archives/"><i class="fa-fw fas fa-archive"></i><span> 目录</span></a></div><div class="menus_item"><a class="site-page" href="/tags/"><i class="fa-fw fas fa-tags"></i><span> 标签</span></a></div><div class="menus_item"><a class="site-page" href="/categories/"><i class="fa-fw fas fa-folder-open"></i><span> 分类</span></a></div><div class="menus_item"><a class="site-page" href="/link/"><i class="fa-fw fas fa-link"></i><span> 友情链接</span></a></div></div><div id="toggle-menu"><a class="site-page" href="javascript:void(0);"><i class="fas fa-bars fa-fw"></i></a></div></div></nav><div id="site-info"><h1 id="site-title">梧桐的学习日记</h1><div id="site-subtitle"><span id="subtitle"></span></div></div><div id="scroll-down"><i class="fas fa-angle-down scroll-down-effects"></i></div></header><main class="layout" id="content-inner"><div class="recent-posts" id="recent-posts"><div class="recent-post-item"><div class="post_cover left"><a href="/2024/03/01/A%E8%81%94%E7%B3%BB%E6%88%91/" title="联系我"><img class="post-bg" src= "" data-lazy-src="https://upyun.acwy.fun/acwy.fun/AAA%E5%B0%8F%E5%8F%B7.jpg" onerror="this.onerror=null;this.src='/img/404.jpg'" alt="联系我"></a></div><div class="recent-post-info"><a class="article-title" href="/2024/03/01/A%E8%81%94%E7%B3%BB%E6%88%91/" title="联系我">联系我</a><div class="article-meta-wrap"><span class="article-meta"><i class="fas fa-thumbtack sticky"></i><span class="sticky">置顶</span><span class="article-meta-separator">|</span></span><span class="post-meta-date"><i class="far fa-calendar-alt"></i><span class="article-meta-label">发表于</span><time datetime="2024-03-01T06:14:16.258Z" title="发表于 2024-03-01 14:14:16">2024-03-01</time></span><span class="article-meta tags"><span class="article-meta-separator">|</span><i class="fas fa-tag"></i><a class="article-meta__tags" href="/tags/%E8%81%94%E7%B3%BB%E6%88%91/">联系我</a></span></div><div class="content">微信：acwy07
    


公众号：你的美好等我去发现
    


</div></div></div><div class="recent-post-item"><div class="post_cover left"><a href="/2024/05/05/%E7%8E%A9%E5%AE%A2%E4%BA%91(4)%E5%88%B7Casaos/" title="玩客云(4)刷Casaos"><img class="post-bg" src= "" data-lazy-src="https://img2.baidu.com/it/u=3980554196,2695416044&amp;fm=253&amp;fmt=auto&amp;app=138&amp;f=JPEG?w=750&amp;h=500" onerror="this.onerror=null;this.src='/img/404.jpg'" alt="玩客云(4)刷Casaos"></a></div><div class="recent-post-info"><a class="article-title" href="/2024/05/05/%E7%8E%A9%E5%AE%A2%E4%BA%91(4)%E5%88%B7Casaos/" title="玩客云(4)刷Casaos">玩客云(4)刷Casaos</a><div class="article-meta-wrap"><span class="post-meta-date"><i class="far fa-calendar-alt"></i><span class="article-meta-label">发表于</span><time datetime="2024-05-05T12:34:22.000Z" title="发表于 2024-05-05 20:34:22">2024-05-05</time></span><span class="article-meta tags"><span class="article-meta-separator">|</span><i class="fas fa-tag"></i><a class="article-meta__tags" href="/tags/%E7%8E%A9%E5%AE%A2%E4%BA%91/">玩客云</a><span class="article-meta-link">•</span><a class="article-meta__tags" href="/tags/armbian/">armbian</a></span></div><div class="content">写在前面的话
好像有不少小伙伴通过搜一搜找到了我的公众号，也有小伙伴关注了，很惭愧，一直很少写文章。由于文章我都是手写的，很是简洁，直接省略了不少步骤，也不知道你们能不能看得懂，不过能找到的小伙伴应该都有基础了

关于Casaos一般能搜到的我这篇文章的，应该也有Casaos的基本常识了，能干什么，可以干什么，就不废话了。
刷机工具还是前面几篇文章里的工具，直接放链接了https://www.123pan.com/s/TqJ8Vv-PWXbv.html提取码:cRXp
注意：直刷本文的Casaos包需要修改晶晨工具的默认超时时间，不然刷不进去
修改晶晨工具默认超时时间
需下载补丁到晶晨工具根目录
修改时间为999

刷Casaos
打开晶晨工具(USB.Burning.Tool)，选择擦除flash—擦除所有
选择我提供的直刷包里的Casaos包，直接刷就可以了，不成功重刷两遍就可以了
成功之后的截图就下面这样子，想安装什么就可以在APP Store里安装了。不过由于硬件配置问题，很多不能安装，看自己啦

</div></div></div><div class="recent-post-item"><div class="post_cover left"><a href="/2023/11/30/%E5%86%B0%E7%82%B9%E8%BF%98%E5%8E%9F%E7%9A%84%E4%B8%80%E4%BA%9B%E9%97%AE%E9%A2%98/" title="冰点还原的一些问题"><img class="post-bg" src= "" data-lazy-src="https://img2.baidu.com/it/u=3614972440,820101258&amp;fm=253&amp;fmt=auto&amp;app=138&amp;f=JPEG?w=419&amp;h=285" onerror="this.onerror=null;this.src='/img/404.jpg'" alt="冰点还原的一些问题"></a></div><div class="recent-post-info"><a class="article-title" href="/2023/11/30/%E5%86%B0%E7%82%B9%E8%BF%98%E5%8E%9F%E7%9A%84%E4%B8%80%E4%BA%9B%E9%97%AE%E9%A2%98/" title="冰点还原的一些问题">冰点还原的一些问题</a><div class="article-meta-wrap"><span class="post-meta-date"><i class="far fa-calendar-alt"></i><span class="article-meta-label">发表于</span><time datetime="2023-11-30T10:46:11.000Z" title="发表于 2023-11-30 18:46:11">2023-11-30</time></span><span class="article-meta tags"><span class="article-meta-separator">|</span><i class="fas fa-tag"></i><a class="article-meta__tags" href="/tags/%E5%86%B0%E7%82%B9%E8%BF%98%E5%8E%9F/">冰点还原</a></span></div><div class="content">
附冰点还原安装包pojie版

解决冰点还原无法卸载Deep Freeze Enterprise种子问题

点击搜索或运行，打开services.msc服务
找到DFServ设置为禁用并重启电脑
运行cmd输入sc delete DFServ，运行冰点还原安装包即可正常安装

下载地址安装包内有说明，如果提示patch有病毒加入白名单后再破解https://www.123pan.com/s/TqJ8Vv-gjXbv.html提取码:7777
</div></div></div><div class="recent-post-item"><div class="post_cover left"><a href="/2023/11/28/win10%E5%8F%B3%E9%94%AE%E6%B7%BB%E5%8A%A0%E5%91%BD%E4%BB%A4%E6%8F%90%E7%A4%BA%E7%AC%A6cmd/" title="win10右键添加命令提示符cmd"><img class="post-bg" src= "" data-lazy-src="https://upyun.acwy.fun/acwy.fun/cmd.png" onerror="this.onerror=null;this.src='/img/404.jpg'" alt="win10右键添加命令提示符cmd"></a></div><div class="recent-post-info"><a class="article-title" href="/2023/11/28/win10%E5%8F%B3%E9%94%AE%E6%B7%BB%E5%8A%A0%E5%91%BD%E4%BB%A4%E6%8F%90%E7%A4%BA%E7%AC%A6cmd/" title="win10右键添加命令提示符cmd">win10右键添加命令提示符cmd</a><div class="article-meta-wrap"><span class="post-meta-date"><i class="far fa-calendar-alt"></i><span class="article-meta-label">发表于</span><time datetime="2023-11-28T10:12:05.000Z" title="发表于 2023-11-28 18:12:05">2023-11-28</time></span><span class="article-meta tags"><span class="article-meta-separator">|</span><i class="fas fa-tag"></i><a class="article-meta__tags" href="/tags/win10/">win10</a><span class="article-meta-link">•</span><a class="article-meta__tags" href="/tags/%E5%8F%B3%E9%94%AE%E6%B7%BB%E5%8A%A0cmd/">右键添加cmd</a></span></div><div class="content">教程转自csdn

win10系统在文件夹中可以按住shift+右键弹出在此处打开Powershell窗口但是在某些时候Powershell总是出现问题，所以还是想要用cmd来进行操作普通模式的cmd就不新建了，主要是管理员模式


win+r搜索打开注册表：regedit
打开到计算机\HKEY_CLASSES_ROOT\Directory\Background\shell
右键新建-&gt;项，命名为ShieldCMD，按个人喜好命名即可。本次设置主要针对管理员模式
在ShieldCMD下再新建一个名为command的项
选中ShieldCMD，点击默认，修改默认数据为以管理员身份打开命令窗口。此处是右键菜单名字
右键ShieldCMD新建一个字符串值，名称为HasLUAShield，数值数据不填。此处是菜单签名的管理员权限标志
选中下级的command，点击默认，修改数值数据为cmd.exe /s /k pushd &quot;%V&quot;

</div></div></div><div class="recent-post-item"><div class="post_cover left"><a href="/2023/11/15/%E6%BB%A1%E5%B1%8F%E7%9A%84%E5%B9%BF%E5%91%8A%EF%BC%8C%E5%A4%AA%E7%83%A6%E4%BA%BA%E4%BA%86/" title="满屏的广告，太烦人了"><img class="post-bg" src= "" data-lazy-src="https://upyun.acwy.fun/acwy.fun/litiaotiao.jpg" onerror="this.onerror=null;this.src='/img/404.jpg'" alt="满屏的广告，太烦人了"></a></div><div class="recent-post-info"><a class="article-title" href="/2023/11/15/%E6%BB%A1%E5%B1%8F%E7%9A%84%E5%B9%BF%E5%91%8A%EF%BC%8C%E5%A4%AA%E7%83%A6%E4%BA%BA%E4%BA%86/" title="满屏的广告，太烦人了">满屏的广告，太烦人了</a><div class="article-meta-wrap"><span class="post-meta-date"><i class="far fa-calendar-alt"></i><span class="article-meta-label">发表于</span><time datetime="2023-11-15T11:27:03.000Z" title="发表于 2023-11-15 19:27:03">2023-11-15</time></span><span class="article-meta tags"><span class="article-meta-separator">|</span><i class="fas fa-tag"></i><a class="article-meta__tags" href="/tags/%E8%B7%B3%E8%BF%87%E5%B9%BF%E5%91%8A/">跳过广告</a><span class="article-meta-link">•</span><a class="article-meta__tags" href="/tags/gkd/">gkd</a><span class="article-meta-link">•</span><a class="article-meta__tags" href="/tags/%E6%9D%8E%E8%B7%B3%E8%B7%B3/">李跳跳</a></span></div><div class="content">
在今年的8月份，几乎所有跳过.开屏广告的软件作者都收到了律师函，要求下架软件。这其中就有李跳跳、一指禅等等。这些产品不用连网就可用，所以已经下载安装了的小伙伴不用担心，还是可以使用的！

不过随着很多软件的更新，这些软件的内置规则不能跳过广告了，但是还是可以有其他方法解决的，有需要的小伙伴及时收藏！
搜索规则李跳跳的有个界面可以导入规则，从而使软件重新识别到广告的关闭按钮。
项目地址：https://github.com/Snoopy1866/LiTiaotiao-Custom-Rules如果网址打不开，可以在github后加fast。然后下载json文件
推荐使用在线规则网站网址：https://snoopy1866.github.io/LiTiaotiao-Custom-Rules/
备用网址：https://ossso.github.io/LiTiaotiao-Custom-Rules/选择【全部规则】，然后【复制】规则
导入规则复制以后在李tiao跳的软件中，找到“更多”，再选择“导入规则”








然后把上面复制的规则，粘贴到软件中，最后“保存”即可，保存后软件就提 ...</div></div></div><div class="recent-post-item"><div class="post_cover left"><a href="/2023/10/29/playwright%E8%87%AA%E5%8A%A8%E5%8C%962/" title="playwright自动化测试(2)"><img class="post-bg" src= "" data-lazy-src="https://upyun.acwy.fun/acwy.fun/playwright.png" onerror="this.onerror=null;this.src='/img/404.jpg'" alt="playwright自动化测试(2)"></a></div><div class="recent-post-info"><a class="article-title" href="/2023/10/29/playwright%E8%87%AA%E5%8A%A8%E5%8C%962/" title="playwright自动化测试(2)">playwright自动化测试(2)</a><div class="article-meta-wrap"><span class="post-meta-date"><i class="far fa-calendar-alt"></i><span class="article-meta-label">发表于</span><time datetime="2023-10-29T13:21:28.000Z" title="发表于 2023-10-29 21:21:28">2023-10-29</time></span><span class="article-meta tags"><span class="article-meta-separator">|</span><i class="fas fa-tag"></i><a class="article-meta__tags" href="/tags/python/">python</a><span class="article-meta-link">•</span><a class="article-meta__tags" href="/tags/%E8%87%AA%E5%8A%A8%E5%8C%96/">自动化</a><span class="article-meta-link">•</span><a class="article-meta__tags" href="/tags/%E7%88%AC%E8%99%AB/">爬虫</a><span class="article-meta-link">•</span><a class="article-meta__tags" href="/tags/playwright/">playwright</a></span></div><div class="content">更为详细的教程，建议查看业内大咖崔庆才的博客，非常多的基础知识。https://cuiqingcai.com/202262.html错误解决pip安装过程中出现下发VC++ 14错误的，安装下面的这个微软包error: Microsoft Visual C++ 14.0 is required. Get it with &quot;Build Tools for Visual Studio&quot;https://pan.baidu.com/s/1GgLLcGTMj80JZSvfg1LuYw?pwd=7777
百度图片下载小例子(风景图片)123456789101112131415161718192021from playwright.sync_api import sync_playwrightimport wgetwith sync_playwright() as p:    # 可以选择chromium、firefox和webkit运行chrome浏览器    # False是有头模式，默认为true是无头模式    browser = p.chromium.launch(he ...</div></div></div><div class="recent-post-item"><div class="post_cover left"><a href="/2023/10/13/playwright%E8%87%AA%E5%8A%A8%E5%8C%961/" title="playwright自动化测试(1)"><img class="post-bg" src= "" data-lazy-src="https://upyun.acwy.fun/acwy.fun/playwright.png" onerror="this.onerror=null;this.src='/img/404.jpg'" alt="playwright自动化测试(1)"></a></div><div class="recent-post-info"><a class="article-title" href="/2023/10/13/playwright%E8%87%AA%E5%8A%A8%E5%8C%961/" title="playwright自动化测试(1)">playwright自动化测试(1)</a><div class="article-meta-wrap"><span class="post-meta-date"><i class="far fa-calendar-alt"></i><span class="article-meta-label">发表于</span><time datetime="2023-10-13T01:21:00.000Z" title="发表于 2023-10-13 09:21:00">2023-10-13</time></span><span class="article-meta tags"><span class="article-meta-separator">|</span><i class="fas fa-tag"></i><a class="article-meta__tags" href="/tags/python/">python</a><span class="article-meta-link">•</span><a class="article-meta__tags" href="/tags/%E8%87%AA%E5%8A%A8%E5%8C%96/">自动化</a><span class="article-meta-link">•</span><a class="article-meta__tags" href="/tags/playwright/">playwright</a></span></div><div class="content">
放弃selenium了，容易被检测，每次测试得随着浏览器版本手动安装驱动，这里的Playwright是微软开源的web自动化测试工具支持主流的浏览器，包含：Chrome、Firefox、Safari、Microsoft Edge 等,同时支持以无头模式、有头模式运行.也支持很多语言，常用的python Node C++ Java都有支持，本人业余玩玩python并提供了同步、异步的 API，可以结合 Pytest 测试框架 使用，并且支持浏览器端的自动化脚本录制。

直达——&gt;playwright文档
安装pip install playwright安装驱动 playwright install chromium
按需安装，种类有chromium, chrome, chrome-beta, msedge, msedge-beta, msedge-dev, firefox, webkit
如果pyinstaller 打包报错 Please run the following command to download new browsers使用PLAYWRIGHT_BROWSERS ...</div></div></div><div class="recent-post-item"><div class="post_cover left"><a href="/2023/09/15/win10%E7%B3%BB%E7%BB%9F%E6%9B%B4%E6%96%B0%E5%85%B3%E9%97%AD/" title="关闭win10系统更新，解决图标变白"><img class="post-bg" src= "" data-lazy-src="https://img1.baidu.com/it/u=3640415815,4244863351&amp;fm=253&amp;fmt=auto&amp;app=138&amp;f=JPEG?w=889&amp;h=500" onerror="this.onerror=null;this.src='/img/404.jpg'" alt="关闭win10系统更新，解决图标变白"></a></div><div class="recent-post-info"><a class="article-title" href="/2023/09/15/win10%E7%B3%BB%E7%BB%9F%E6%9B%B4%E6%96%B0%E5%85%B3%E9%97%AD/" title="关闭win10系统更新，解决图标变白">关闭win10系统更新，解决图标变白</a><div class="article-meta-wrap"><span class="post-meta-date"><i class="far fa-calendar-alt"></i><span class="article-meta-label">发表于</span><time datetime="2023-09-15T01:20:58.000Z" title="发表于 2023-09-15 09:20:58">2023-09-15</time></span><span class="article-meta tags"><span class="article-meta-separator">|</span><i class="fas fa-tag"></i><a class="article-meta__tags" href="/tags/win10/">win10</a><span class="article-meta-link">•</span><a class="article-meta__tags" href="/tags/windows%E7%B3%BB%E7%BB%9F/">windows系统</a></span></div><div class="content">win10禁止更新
最近我的电脑每次重启都要安装更新，更新好久也不敢关机，这里找到几种禁止更新的方法，亲测win10以下都可以，win11可以自行测试

组策略法
打开组策略 gpedit.msc
在 计算机配置–管理模板–windows组件–Windows更新里找到指定Intranet microsoft 更新服务位置
打开，设置为启用，随便输一个网址，比如www.baidu.com，3个框都填上，点确定。
最后重启电脑，就好啦。

注册表延长法 (一般用于win11)手动修改
打开注册表 regedit
找到以下路径： HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\WindowsUpdate\UX\Settings
右侧空白处右键–新建–DWORD (32 位)值(D)
命名为：FlightSettingsMaxPauseDays
双击打开FlightSettingsMaxPauseDays，编辑 DWORD (32 位)值
基数设置为十进制，数值数据设为3650
打开Windows更新，暂停更新设为最大值521周

下列代码写入记事本，后缀改为reg ...</div></div></div><div class="recent-post-item"><div class="post_cover left"><a href="/2023/09/04/%E6%9C%8D%E5%8A%A1%E5%99%A8%E9%80%9A%E4%BF%A1-ws-see/" title="服务器通信-websocket-see"><img class="post-bg" src= "" data-lazy-src="https://zhengxin-pub.cdn.bcebos.com/mark/7526b5ffd23644eb9060a9474da6a1e3.jpg" onerror="this.onerror=null;this.src='/img/404.jpg'" alt="服务器通信-websocket-see"></a></div><div class="recent-post-info"><a class="article-title" href="/2023/09/04/%E6%9C%8D%E5%8A%A1%E5%99%A8%E9%80%9A%E4%BF%A1-ws-see/" title="服务器通信-websocket-see">服务器通信-websocket-see</a><div class="article-meta-wrap"><span class="post-meta-date"><i class="far fa-calendar-alt"></i><span class="article-meta-label">发表于</span><time datetime="2023-09-04T01:23:20.000Z" title="发表于 2023-09-04 09:23:20">2023-09-04</time></span><span class="article-meta tags"><span class="article-meta-separator">|</span><i class="fas fa-tag"></i><a class="article-meta__tags" href="/tags/php/">php</a><span class="article-meta-link">•</span><a class="article-meta__tags" href="/tags/%E6%9C%8D%E5%8A%A1%E5%99%A8%E9%80%9A%E4%BF%A1/">服务器通信</a><span class="article-meta-link">•</span><a class="article-meta__tags" href="/tags/%E5%89%8D%E7%AB%AF/">前端</a></span></div><div class="content">构建网络应用的过程中，我们经常需要与服务器进行持续的通讯以保持双方信息的同步。通常这种持久通讯在不刷新页面的情况下进行，消耗一定的内存资源常驻后台，并且对于用户不可见。本文将简要介绍Web通信中常用的四种方式。
一、轮询（略）前端通过ajax循环向后端请求数据
二、长轮询长轮询的基本思想是：在每次客户端发出请求后，服务器检查上次返回的数据与此次请求时的数据之间是否有更新，如果有更新则返回新数据并结束此次连接。通过延迟保持住此次连接，服务器内部查询，直到有新数据时再返回数据结束。
三、sse单向通信：服务器发送数据到客户端后端以php为例：
服务器端SSE通过“事件流(Event Stream)”的格式产生并推送事件。
包含四个字段：event、data、id和retry。用\n换行符结尾
event表示事件类型
data表示消息内容.单行直接用\n\n结尾，多行前几行用\n结尾
id用于设置客户端EventSource对象的“last event ID string”内部属性
retry指定了重新连接的时间，默认3秒。



1234567891011121314header(&#x2 ...</div></div></div><div class="recent-post-item"><div class="post_cover left"><a href="/2023/08/28/%E7%B2%A4%E6%95%99%E7%89%88%E4%B8%89%E5%B9%B4%E7%BA%A7%E7%A7%91%E5%AD%A6/" title="粤教版三年级科学"><img class="post-bg" src= "" data-lazy-src="https://upyun.acwy.fun/%E5%AD%A6%E4%B9%A0/%E4%BA%8C%E5%B9%B4%E7%BA%A7%E7%A7%91%E5%AD%A6%E5%B0%81%E9%9D%A2.png" onerror="this.onerror=null;this.src='/img/404.jpg'" alt="粤教版三年级科学"></a></div><div class="recent-post-info"><a class="article-title" href="/2023/08/28/%E7%B2%A4%E6%95%99%E7%89%88%E4%B8%89%E5%B9%B4%E7%BA%A7%E7%A7%91%E5%AD%A6/" title="粤教版三年级科学">粤教版三年级科学</a><div class="article-meta-wrap"><span class="post-meta-date"><i class="far fa-calendar-alt"></i><span class="article-meta-label">发表于</span><time datetime="2023-08-28T08:59:22.000Z" title="发表于 2023-08-28 16:59:22">2023-08-28</time></span><span class="article-meta tags"><span class="article-meta-separator">|</span><i class="fas fa-tag"></i><a class="article-meta__tags" href="/tags/%E7%B2%A4%E6%95%99%E7%89%88/">粤教版</a></span></div><div class="content">一、科学第一课https://www.123pan.com/s/TqJ8Vv-2aXbv.html一、课件https://www.123pan.com/s/TqJ8Vv-PaXbv.html二、NB科学平台https://science.nobook.com/</div></div></div><nav id="pagination"><div class="pagination"><span class="page-number current">1</span><a class="page-number" href="/page/2/#content-inner">2</a><a class="page-number" href="/page/3/#content-inner">3</a><a class="extend next" rel="next" href="/page/2/#content-inner"><i class="fas fa-chevron-right fa-fw"></i></a></div></nav></div><div class="aside-content" id="aside-content"><div class="card-widget card-info"><div class="is-center"><div class="avatar-img"><img src= "" data-lazy-src="/img/logo.png" onerror="this.onerror=null;this.src='/img/friend_404.gif'" alt="avatar"/></div><div class="author-info__name">梧桐影下月光卧</div><div class="author-info__description">分享个人学习路上的小知识</div></div><div class="card-info-data site-data is-center"><a href="/archives/"><div class="headline">文章</div><div class="length-num">28</div></a><a href="/tags/"><div class="headline">标签</div><div class="length-num">35</div></a><a href="/categories/"><div class="headline">分类</div><div class="length-num">0</div></a></div><a id="card-info-btn" target="_blank" rel="noopener" href="https://beau.acwy.fun"><i class="fa-solid fa-envelope"></i><span>点击联系我</span></a></div><div class="card-widget card-announcement"><div class="item-headline"><i class="fas fa-bullhorn fa-shake"></i><span>公告</span></div><div class="announcement_content"><b> <font color="#e66b6d">欢</font> <font color="#e66d98">迎</font> <font color="#e66cc6">访</font> <font color="#cc6de6">问</font> <font color="#9770e6">a</font> <font color="#6d93e6">c</font> <font color="#6fcde6">w</font> <font color="#72e6b6">y</font> <font color="#72e689">的</font> <font color="#99e670">学</font> <font color="#cde670">习</font> <font color="#e6df72">日</font> <font color="#e6c073">记</font> </b> <p align="center"> <img src= "" data-lazy-src="https://upyun.acwy.fun/acwy.fun/公告1.gif" width="50" alt="mao"> </p> <p align="center">微信：acwy0718</p> <p align="center">邮箱：awy0718@gmail.com</p></div></div><div class="sticky_layout"><div class="card-widget card-tags"><div class="item-headline"><i class="fas fa-tags"></i><span>标签</span></div><div class="card-tag-cloud"><a href="/tags/%E8%81%94%E7%B3%BB%E6%88%91/" style="font-size: 1.15em; color: rgb(12, 167, 197)">联系我</a><a href="/tags/hexo/" style="font-size: 1.33em; color: rgb(76, 64, 106)">hexo</a><a href="/tags/hexo-Butterfly-%E9%9D%99%E6%80%81%E5%8D%9A%E5%AE%A2/" style="font-size: 1.27em; color: rgb(58, 153, 126)">hexo-Butterfly - 静态博客</a><a href="/tags/python/" style="font-size: 1.45em; color: rgb(41, 128, 28)">python</a><a href="/tags/BeautifulSoup/" style="font-size: 1.15em; color: rgb(143, 60, 188)">BeautifulSoup</a><a href="/tags/%E8%87%AA%E5%8A%A8%E5%8C%96/" style="font-size: 1.27em; color: rgb(186, 155, 148)">自动化</a><a href="/tags/%E7%88%AC%E8%99%AB/" style="font-size: 1.39em; color: rgb(168, 76, 168)">爬虫</a><a href="/tags/%E7%BD%91%E9%A1%B5%E8%A7%A3%E6%9E%90/" style="font-size: 1.21em; color: rgb(75, 41, 146)">网页解析</a><a href="/tags/playwright/" style="font-size: 1.21em; color: rgb(64, 194, 40)">playwright</a><a href="/tags/%E9%9D%99%E6%80%81%E5%8D%9A%E5%AE%A2/" style="font-size: 1.15em; color: rgb(87, 94, 5)">静态博客</a><a href="/tags/requests/" style="font-size: 1.15em; color: rgb(71, 79, 194)">requests</a><a href="/tags/win10/" style="font-size: 1.21em; color: rgb(12, 191, 47)">win10</a><a href="/tags/%E5%8F%B3%E9%94%AE%E6%B7%BB%E5%8A%A0cmd/" style="font-size: 1.15em; color: rgb(115, 66, 77)">右键添加cmd</a><a href="/tags/windows%E7%B3%BB%E7%BB%9F/" style="font-size: 1.15em; color: rgb(166, 103, 135)">windows系统</a><a href="/tags/%E5%AE%89%E5%8D%93/" style="font-size: 1.15em; color: rgb(107, 113, 120)">安卓</a><a href="/tags/xpath/" style="font-size: 1.15em; color: rgb(40, 122, 102)">xpath</a><a href="/tags/node/" style="font-size: 1.15em; color: rgb(66, 39, 20)">node</a><a href="/tags/npm/" style="font-size: 1.15em; color: rgb(58, 129, 175)">npm</a><a href="/tags/php/" style="font-size: 1.21em; color: rgb(194, 18, 177)">php</a><a href="/tags/%E8%99%9A%E6%8B%9F%E4%B8%BB%E6%9C%BA/" style="font-size: 1.15em; color: rgb(49, 193, 129)">虚拟主机</a><a href="/tags/%E4%B8%87%E7%BD%91/" style="font-size: 1.15em; color: rgb(141, 54, 58)">万网</a><a href="/tags/thinkphp/" style="font-size: 1.15em; color: rgb(147, 192, 15)">thinkphp</a><a href="/tags/%E6%9C%8D%E5%8A%A1%E5%99%A8%E9%80%9A%E4%BF%A1/" style="font-size: 1.15em; color: rgb(18, 9, 42)">服务器通信</a><a href="/tags/%E5%89%8D%E7%AB%AF/" style="font-size: 1.15em; color: rgb(104, 35, 184)">前端</a><a href="/tags/%E5%86%B0%E7%82%B9%E8%BF%98%E5%8E%9F/" style="font-size: 1.15em; color: rgb(194, 37, 41)">冰点还原</a><a href="/tags/%E8%B7%B3%E8%BF%87%E5%B9%BF%E5%91%8A/" style="font-size: 1.15em; color: rgb(124, 196, 154)">跳过广告</a><a href="/tags/gkd/" style="font-size: 1.15em; color: rgb(15, 88, 28)">gkd</a><a href="/tags/%E6%9D%8E%E8%B7%B3%E8%B7%B3/" style="font-size: 1.15em; color: rgb(54, 150, 84)">李跳跳</a><a href="/tags/%E7%8E%A9%E5%AE%A2%E4%BA%91/" style="font-size: 1.27em; color: rgb(45, 38, 18)">玩客云</a><a href="/tags/armbian/" style="font-size: 1.21em; color: rgb(167, 27, 196)">armbian</a><a href="/tags/linux%E6%8C%82%E8%BD%BD%E7%A1%AC%E7%9B%98/" style="font-size: 1.15em; color: rgb(149, 172, 174)">linux挂载硬盘</a><a href="/tags/cloudreve/" style="font-size: 1.15em; color: rgb(4, 40, 131)">cloudreve</a><a href="/tags/%E7%B2%A4%E6%95%99%E7%89%88/" style="font-size: 1.21em; color: rgb(42, 60, 10)">粤教版</a><a href="/tags/%E7%BA%BF%E7%A8%8B/" style="font-size: 1.21em; color: rgb(31, 192, 139)">线程</a><a href="/tags/%E8%BF%9B%E7%A8%8B/" style="font-size: 1.15em; color: rgb(103, 25, 61)">进程</a></div></div><div class="card-widget card-webinfo"><div class="item-headline"><i class="fas fa-chart-line"></i><span>网站资讯</span></div><div class="webinfo"><div class="webinfo-item"><div class="item-name">文章数目 :</div><div class="item-count">28</div></div><div class="webinfo-item"><div class="item-name">已运行时间 :</div><div class="item-count" id="runtimeshow" data-publishDate="2020-09-25T07:31:00.000Z"><i class="fa-solid fa-spinner fa-spin"></i></div></div><div class="webinfo-item"><div class="item-name">本站总字数 :</div><div class="item-count">13.7k</div></div><div class="webinfo-item"><div class="item-name">最后更新时间 :</div><div class="item-count" id="last-push-date" data-lastPushDate="2024-05-05T13:13:51.207Z"><i class="fa-solid fa-spinner fa-spin"></i></div></div></div></div></div></div></main><footer id="footer" style="background-image: url('/img/top_img.jpeg')"><div id="footer-wrap"><div class="framework-info"><span>框架 </span><a target="_blank" rel="noopener" href="https://hexo.io">Hexo</a><span class="footer-separator">|</span><span>主题 </span><a target="_blank" rel="noopener" href="https://github.com/jerryc127/hexo-theme-butterfly">Butterfly</a></div><div class="footer_custom_text"><div> <a href="https://beian.miit.gov.cn/" target="_blank">豫ICP备2023010490号-1</a> </div> <div> <a style="display:flex;justify-content:center;align-items:center;" target="_blank" href="http://www.beian.gov.cn/portal/registerSystemInfo?recordcode=41152402000204"> <img src= "" data-lazy-src="/img/beian.png" style="width:20px;height:20px;margin:0 5px"> <span>豫公网安备 41152402000204号</span> </a> </div> <div> <a style="display:flex;justify-content:center;" href="https://www.upyun.com/?utm_source=lianmeng&utm_medium=referral" target="_blank"> <span>本网站由</span> <img style="height:30px;margin:0 3px" src= "" data-lazy-src="/img/upyun_logo5.png"> <span>提供CDN加速/云存储服务</span> </a> <div/></div></div></footer></div><div id="rightside"><div id="rightside-config-hide"><button id="darkmode" type="button" title="浅色和深色模式转换"><i class="fas fa-adjust"></i></button><button id="hide-aside-btn" type="button" title="单栏和双栏切换"><i class="fas fa-arrows-alt-h"></i></button></div><div id="rightside-config-show"><button id="rightside_config" type="button" title="设置"><i class="fas fa-cog fa-spin"></i></button><button id="go-up" type="button" title="回到顶部"><span class="scroll-percent"></span><i class="fas fa-arrow-up"></i></button></div></div><div><script src="/js/utils.js"></script><script src="/js/main.js"></script><script src="https://cdn.jsdelivr.net/npm/@fancyapps/ui/dist/fancybox.umd.min.js"></script><script src="https://cdn.jsdelivr.net/npm/instant.page/instantpage.min.js" type="module"></script><script src="https://cdn.jsdelivr.net/npm/vanilla-lazyload/dist/lazyload.iife.min.js"></script><div class="js-pjax"><script>window.typedJSFn = {
  init: (str) => {
    window.typed = new Typed('#subtitle', Object.assign({
      strings: str,
      startDelay: 300,
      typeSpeed: 150,
      loop: true,
      backSpeed: 50,
    }, null))
  },
  run: (subtitleType) => {
    if (true) {
      if (typeof Typed === 'function') {
        subtitleType()
      } else {
        getScript('https://cdn.jsdelivr.net/npm/typed.js/lib/typed.min.js').then(subtitleType)
      }
    } else {
      subtitleType()
    }
  }
}
</script><script>function subtitleType () {
  fetch('https://v1.hitokoto.cn')
    .then(response => response.json())
    .then(data => {
      if (true) {
        const from = '出自 ' + data.from
        const sub = []
        sub.unshift(data.hitokoto, from)
        typedJSFn.init(sub)
      } else {
        document.getElementById('subtitle').innerHTML = data.hitokoto
      }
    })
}
typedJSFn.run(subtitleType)
</script></div><canvas class="fireworks" mobile="false"></canvas><script src="https://cdn.jsdelivr.net/npm/butterfly-extsrc/dist/fireworks.min.js"></script><script id="canvas_nest" defer="defer" color="0,0,255" opacity="0.7" zIndex="-1" count="99" mobile="true" src="https://cdn.jsdelivr.net/npm/butterfly-extsrc/dist/canvas-nest.min.js"></script></div></body></html>